<div class="page">
	<div class="pageContent">
		<form method="post" action="<?{$baseurl}?>/system/update" class="pageForm required-validate" onsubmit="return validateCallback(this);">
			<div class="pageFormContent" layoutH="56">
				<p>
					<label>站点名称：</label>
					<input name="webname" type="text" value="<?{$config.webname}?>" alt="请输入站点名称" class="required" />
				</p>
				<p>
					<label>域名：</label>
					<input name="url" type="text"  value="<?{$config.url}?>" class="required"/>
				</p>
				<p>
					<label>title：</label>
					<input name="title"  type="text" value="<?{$config.title}?>" class="required"/>
				</p>
				<p>
					<label>keywords：</label>
					<input type="text" name="keywords" value="<?{$config.keywords}?>" class="required"/>
				</p>
				<p>
					<label>description：</label>
					<input type="text" name="description" value="<?{$config.description}?>" class="required"/>
				</p>
				<p>
					<label>备案：</label>
					<input type="text" name="record" value="<?{$config.record}?>" class="required"/>
				</p>
				<div class="divider"></div>
				<p>
					<label>后台模板：</label>
					<select name="systemplate">
					<?{foreach from=$tpl item=v }?>
					<?{if $v.type eq "sys"}?>
					<option value="<?{$v.template}?>" <?{if $v.template eq $config.systemplate}?> selected="selected" <?{/if}?>><?{$v.template}?></option>
					<?{/if}?>
					<?{/foreach}?>
					</select>
				</p>
				<p>
					<label>前台模板：</label>
					<select name="webtemplate">
					<option value="">无</option>
					<?{foreach from=$tpl item=v }?>
					<?{if $v.type eq "web"}?>
					<option value="<?{$v.templage}?>" <?{if $v.template eq $config.webtemplate}?> selected="selected" <?{/if}?> ><?{$v.templage}?></option>
					<?{/if}?>
					<?{/foreach}?>
					</select>
				</p>
			</div>
			<div class="formBar">
				<ul>
					<!--<li><a class="buttonActive" href="#"><span>保存</span></a></li>-->
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="Button" onclick="navTab.closeCurrentTab()">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>